package com.fpd.config;

/**
 * @program: springboot-hecheng
 * @description:
 * @author: zhukunpeng
 * @create: 2019-12-31 15:08
 **/

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/** 
* @Description: 发布项目添加文件映射
* @Param:  
* @return:  
* @Author: zhukunpeng
* @Date: 2019/12/31 
*/ 
//@Configuration
//public class WebMvcConfiguration extends WebMvcConfigurerAdapter {
//    @Override
//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/image/**").addResourceLocations("file:E://hc/");
//        super.addResourceHandlers(registry);
//    }
//}

